//
//  Stroke.h
//  Playground
//
//  Created by Basuke on 08/03/22.
//  Copyright 2008 Basuke's. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface Stroke : NSObject {
	CGFloat		penWidth;
	CGFloat		alpha;
	UIColor		*color;
	CGRect		bounds;
	
	NSMutableArray	*_points;
}

@property(readwrite, assign, nonatomic)	CGFloat		penWidth;
@property(readwrite, assign, nonatomic)	CGFloat		alpha;
@property(readwrite, assign, nonatomic)	UIColor		*color;
@property(readwrite, assign, nonatomic)	CGRect		bounds;

- (id)reset;
- (void)addPoint:(CGPoint)pt;
- (void)strokePath:(CGContextRef)context;

@end
